package appx.craft.droid.utils;

import android.content.Context;
import android.os.Environment;


public class Const {
	
	public static String PREF_FILE = "Pref_Droid_Screen";
	
	//APPLICATION CONSTANCE WILL GOES HERE
	public static String APP_HOME = Environment.getExternalStorageDirectory().getAbsolutePath() + "/";
	public static String PRIVATE_DATA = "/data/data/appx.craft.droid/";
	
	public static String LOG_DIR = APP_HOME + "/log";
	
	public static String DIR_DATA = APP_HOME + "Appx";
	
	public static Context CONTEXT = null;
	
	public static final String CONTENT = "content";
	
	/** The Constant HOST. */
	public static final String HOST = "http://x1.appxcraft.com/AContent/";
	
	/** The Constant OPERATION_ADD_FILE. */
	public static final String OPERATION_ADD_FILE = HOST + "addFile";
	
	/** The Constant OPERATION_ADD_LOCATION. */
	public static final String OPERATION_ADD_LOCATION = HOST + "addlocation";
	
	
	/**
	* verify upload file 
	 */
	public static final String VERIFY_HOST = "http://p1.appxcraft.com/u/";
		
	
	

	/** IF IT SET FLAG FALSE THEN IT WILL NOT DISPLAY IN DDMS
		AND TRASH LOG HTML WILL START MAINTAIN THE ERROR OF APPLICATION
	 **/
	public static Boolean flag = true;

	
	/**
	 *  ACTIVITY PREF,INTENT FLAG ETC GOES HERE
	 */
	
	public static String NUM_MESSAGE_VIEWS = "NUM_MESSAGE_VIEWS";
	
	
	public static String CURRENT_LATITUDE  = "CURRENT_LATITUDE";
	public static String CURRENT_LONGITUDE  = "CURRENT_LONGITUDE";
	
	
	public static String PARAMS_LATITUDE  = "Lat";
	public static String PARAMS_LONGITUDE  = "Lng";
	
	public static String PARAMS_RETRY  = "retry";
	public static String PARAMS_TYPE  = "Type";
	public static String PARAMS_CONTENT = "Content";
	
	
	
	public static long MINUTES_SIXTEEN = 60;
	public static long HOURS_ONE_DAY = 24;
	public static long HOURS_TWO_DAY = HOURS_ONE_DAY * 2;
	
	public static String DURATION_ITEM = "DURATION_ITEM";
	public static boolean INSTALL_ATTEMP_FIRST  = true;
	
	public static String INTENT_IMAGE = "IMAGE_NAME";
	public static String INTENT_AUDIO = "AUDIO_NAME";
	public static String INTENT_FILE_AUDIO = "INTENT_FILE_AUDIO";
	public static String INTENT_FILE_VIDEO = "INTENT_FILE_VIDEO";
	
}

